<template>
  <div class="snRepair">
    <div class="search">
      <div class="mui-input-row">
        <label>扫码区域:</label>
        <div class="search-right">
          <input type="text" placeholder="请输入产品SN" class="search-input" />
          <el-button type="primary">确定</el-button>
        </div>
      </div>
      <el-card shadow="never">
        <ul class="mui-table-view">
          <li class="mui-table-view-cell">
            产&nbsp;品&nbsp;SN
            <span style="color: red;">*</span>
            <span class="content"></span>
          </li>
          <li class="mui-table-view-cell">
            维修单号
            <span style="color: red;">*</span>
            <span class="content"></span>
          </li>
          <li class="mui-table-view-cell">
            异常单号
            <span style="color: red;">*</span>
            <span class="content"></span>
          </li>
          <li class="mui-table-view-cell">
            审批备注
            <span style="color: red;">*</span>
            <span class="content"></span>
          </li>
          <li class="mui-table-view-cell">
            维修数量
            <span style="color: red;">*</span>
            <span class="content"></span>
          </li>
          <li class="mui-table-view-cell">
            成功数量
            <span style="color: red;">*</span>
            <span class="content"></span>
          </li>
          <li class="mui-table-view-cell">
            报废数量
            <span style="color: red;">*</span>
            <span class="content"></span>
          </li>
          <li class="mui-table-view-cell">
            返回工序
            <span class="content"></span>
          </li>
        </ul>
      </el-card>
    </div>
<div class="btn">
   <mt-button size="large" type="primary" @click="goHandel">提交</mt-button>
    <mt-button size="large" type="default" @click="goBack">返回</mt-button>

</div>
   
  </div>
</template>

<script>
import { Toast } from "mint-ui";
export default {
  data() {
    return {
      dialogVisible: false,
      value: "",
      value1: "==请选择==",
      label: "合格",

      options: [{ label: "合格", value: "1" }, { label: "不合格", value: "2" }]
    };
  },
  methods: {
    goDeal() {
      this.$router.push({ name: "deal" });
    },
    check() {
      if (this.value === "1") {
        this.label = "合格";
      } else {
        this.label = "不合格";
      }

      this.dialogVisible = false;
    },

    goBack() {
      this.$router.push({ name: "task" });
    }
  }
};
</script>

<style scoped="scoped">
.mint-button--large {
  margin-top: 10px;
}
.btn {
  margin: 0 10px;
}
.search-input {
  padding-left: 0;
  border: none;
  margin-bottom: 0;
  font-size: 16px;
}

.snRepair .search {
  margin-top: 50px;
}

.mui-input-row {
  background: white;
}

.mui-input-row label {
  padding-right: 4px;
  font-size: 16px;
  width: 34%;
}

.snRepair .el-button {
  padding: 8px 16px;
  margin-bottom: 0px;
  height: 30px;
  margin-top: 5px;
  margin-right: 10px;
}

.snRepair .search-right {
  display: flex;
  justify-content: space-between;
}
.content {
  margin-left: 50px;
  color: #797575;
  font-size: 16px;
}
</style>
